package com.yunhe.common.model.base;

import com.yunhe.common.model.authority.UserDTO;

/**
 * 异常短信接收人配置
 * @author liuronglei
 */
public class AlarmSmsConfigDTO {
    private Long id;
    /**
     * 用户
     */
    private UserDTO user;
    /**
     * 时间范围：1:全天；2:白天；3:晚上
     */
    private Integer timeRange;
    /**
     * 关联的用户ID
     */
    private Long relatedUserId;
    /**
     * 序号
     */
    private Long sn;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public UserDTO getUser() {
        return user;
    }

    public void setUser(UserDTO user) {
        this.user = user;
    }

    public Integer getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(Integer timeRange) {
        this.timeRange = timeRange;
    }

    public Long getRelatedUserId() {
        return relatedUserId;
    }

    public void setRelatedUserId(Long relatedUserId) {
        this.relatedUserId = relatedUserId;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }
}